package com.otojob.mapper;

import com.otojob.entity.Company;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author TingFeng
 * @since 2022-03-18
 */
public interface CompanyMapper extends BaseMapper<Company> {
    /**
     * 通过用户ID查询公司
     * @param id
     * @return
     */
    Company findCompanyById(Integer id);

    /**
     * 认证公司
     * @param company
     */
    void addCompany(Company company);
}
